<?php


namespace Xiaoguai\DesignPattern\DP003\Decorator;


use Xiaoguai\DesignPattern\DP003\Decorator;

class PrefixDecorator extends Decorator
{
    public function get(string $key)
    {
        $prefixed_key = getenv('APP_ENV') . $key;
        return parent::get($prefixed_key);
    }
}